<%@taglib prefix="tag" tagdir="/WEB-INF/tags" %>
<html>
    <head>
        <title>My account</title>
        <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
        <link type="text/css" rel="stylesheet" href="/stylesheets/menu.css" />
        <link type="text/css" rel="stylesheet" href="/stylesheets/container.css" />
        <link type="text/css" rel="stylesheet" href="/stylesheets/map.css" />
        <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|PT+Sans+Caption:400,700' rel='stylesheet' type='text/css' />
        <script type="text/javascript"
            src="https://maps.googleapis.com/maps/api/js?key=AIzaSyANlSKCcxC-zerJQTLytFPdUfsIkFub6co&sensor=true">
        </script>
        <script type="text/javascript">
      function initialize() {
        var mapOptions = {
          center: new google.maps.LatLng(47.21806, -1.55278),
          zoom: 14,
          mapTypeId: google.maps.MapTypeId.ROADMAP
        };
        var map = new google.maps.Map(document.getElementById("map"),
            mapOptions);
      }
      google.maps.event.addDomListener(window, 'load', initialize);
    </script>
    </head>
    <body>
<jsp:include page="/menu.jsp" flush="true" />
        <div class="vcontainer">
            <p>coucou <%= session.getAttribute("email") %></p>
            <p>My email <%= session.getAttribute("email") %></p>
            <p>My nickname <%= session.getAttribute("nickName") %></p>
            <tag:twitterNotLoggedIn>
                <p><a href="/twitterLogIn"><img src="./images/Sign-in-with-Twitter-darker.png"/></a></p>
            </tag:twitterNotLoggedIn>
            <tag:twitterLoggedIn>
                <p><a href="/twitterLogOut">Sign out from Twitter</a></p>
            </tag:twitterLoggedIn>
            <tag:facebookNotLoggedIn>
                <p><a href="/facebookLogIn"><img src="./images/Sign-in-with-facebook.png"/></a></p>
            </tag:facebookNotLoggedIn>
            <tag:facebookLoggedIn>
                <p><a href="/facebookLogOut">Sign out from Facebook</a></p>
            </tag:facebookLoggedIn>
        </div>
<jsp:include page="/vmap.jsp" flush="true" />
    </body>
</html>